package com.platform.dao;

import com.platform.base.BaseMapper;
import com.platform.pojo.UserRole;

import java.util.List;
import java.util.Map;

public interface UserRoleMapper extends BaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(UserRole record);

    int insertSelective(UserRole record);

    UserRole selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(UserRole record);

    int updateByPrimaryKey(UserRole record);

    List<String> selectByUserName(String userName);

    List<Map> selectUserByRoleCode(String roleCode);
}